{include file="header.tpl"}

<div id="col1">
	<div id="form-left" style="margin-left:30px">
		<img src="images/fcontacto.gif">
		<form action="contacto.php" method="POST">
			<input type="hidden" name="action" value="send"/>
			<div class="input-row">
				<div class="input-row-left">Nombre</div>
				<div class="input-row-right"><input type="text" name="nombre" value="{$contacto->nombre}"/></div>
			</div>
			<div class="input-row">
				<div class="input-row-left">Email</div>
				<div class="input-row-right"><input type="text" name="email" value="{$contacto->email}"/></div>
			</div>			
			<div class="input-row">
				<div class="input-row-left">Tel&eacute;fono</div>
				<div class="input-row-right"><input type="text" name="telefono" value="{$contacto->telefono}"/></div>
			</div>
			{if $ref !=null}
			<input type="hidden" name="ref" value="Referencia del viaje: {$ref}">
			<div class="input-row">
				<div class="input-row-left">Rerefencia</div>
				<div class="input-row-right"><input type="text" readonly="readonly" value="Viaje nro: {$ref}"/> </div>
			</div>
			{/if}
			<div class="input-row input-row-height">
				<div class="input-row-left">Mensaje</div>
				<div class="input-row-right"><textarea name="mensaje"></textarea></div>			
			</div>
			<div class="input-row">
				<div class="input-row-submit">
					<input type="submit" value="Enviar mensaje"/>
				</div>
			</div>
			<span style="color:green">{$messageOk}</span>
			<span style="color:red">{$messageError}</span>
		</form>
	</div>
</div>


{include file="rightPanel.tpl"}
{include file="footer.tpl"}